package com.hotel.service.impl;

import com.hotel.entity.UserRoom;
import com.hotel.mapper.UserRoomMapper;
import com.hotel.service.UserRoomService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class UserRoomServiceImpl implements UserRoomService {
    @Autowired
    private UserRoomMapper userRoomMapper;

    @Override
    public List<UserRoom> list() {
        return userRoomMapper.list();
    }
}
